package org.example.basic.day04;

/**
 * mybatisPlus业务层接口
 */
public class Demo接口练习 {
    public static void main(String[] args) {

    }
}

interface MyDBService{
    void add(String name);
    void update(String name);
    void delete(String name);
    void query(String name);
    void queryAll();
    void queryByName(String name);
}

abstract class MyDBServiceImpl implements MyDBService{
    @Override
    public void add(String name) {
    }

    @Override
    public void update(String name) {

    }

    @Override
    public void delete(String name) {

    }

    @Override
    public void query(String name) {

    }

    @Override
    public void queryAll() {

    }

    @Override
    public void queryByName(String name) {

    }
}

interface MyService extends MyDBService{

}

class MyServiceImpl extends MyDBServiceImpl implements MyService{
    @Override
    public void add(String name) {
        super.add(name);
    }
}


